process.env.NODE_ENV = 'production';
const commonConfig = require('./webpack.common');
const {merge} = require('webpack-merge');
const TerserPlugin = require('terser-webpack-plugin')
const OptimizeCssPlugin = require('optimize-css-assets-webpack-plugin')
module.exports = merge(commonConfig, {
    optimization: {
        minimizer:[new TerserPlugin(),new OptimizeCssPlugin()]
    }
});
